import { IChangeByteById } from '@/model/form/common/IChangeByteById'
import IResVO from '@/model/vo/common/IResVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 更改在线状态
export default function socketChangeTypeApi(form: IChangeByteById) {
  return $http.post<IResVO, AxiosResponse<IResVO>, IChangeByteById>(
    '/socket/changeType',
    form
  )
}
